Extending OCL to include Actions
نویسندگان
چکیده
The UML’s Object Constraint Language provides the modeller of object-oriented systems with ways to express the semantics of a model in a precise and declarative manner. The constraints which can be expressed in this language, all state requirements on the static aspects of the system. The Object Constraint Language currently lacks a way to express that events have happened or will happen, that signals are or will be send, or that operations are or will be called. This paper introduces an extension to OCL to solve the above problem: the so-called action clause. We describe how this extension is integrated with the UML semantics to avoid semantics overlap. It also shows that a modeler can use it to specify dynamic requirements declaratively on an abstract level, without the need to use full operational dynamic diagrams.
منابع مشابه
Extending ASSL: Making UML Metamodel-based Workflows executable
ASSL is a language that enables UML developers to test and certify UML and OCL models [5]. Snapshots of system states are semi-automatically created and main parts of the UML action semantics is implemented by the language. Its interpreter is the well-known UML modeling tool USE. The article proposes a number of language extensions to ASSL. These include (sub) procedure calls and preand postcon...
متن کاملAn Ontology for Clinical Laboratory Standard Operating Procedures
This paper reports on a knowledge representation model, OCL-SOP, that formally defines key entities pertinent to clinical laboratory procedures. OCL-SOP provides a formal description of laboratory experimental actions, biochemical entities involved, equipment used, input and output data, and the data processing actions. We developed OCL-SOP in collaboration with domain experts. We demonstrate t...
متن کاملRelations in OCL
OCL is proposed as a query language within the QVT framework. The main QVT submission bases the specification of transformations on the concept of relations. Relations are not first class entities within the OCL. By extending OCL with the concept of Relations it can better serve the needs of the QVT framework. In particular this enables OCL to be used as a semantic interpretation of a QVT trans...
متن کاملExtending OCL to Better Express UML Qualified Associations
—A qualified association in the Unified Modeling Language (UML) is an association that allows one to restrict the objects referred in an association using a key called a qualifier. A qualified association can appear in a constraint written in the Object Constraint Language (OCL) to specify a precise UML model. However, the OCL notation fails to provide appropriate support for expressing certain...
متن کاملExtending OCL to Specify and Validate Integrity Constraints in UML-GeoFrame Conceptual Data Model
This paper describes a proposal for OCL (Object Constraint Language) by adding geographical features to assist the geographical data modeling. OCL can be used to complement the diagrams when the UML constructors do not allow the specification of all requirements related to the application domain. The objective is to complement and validate conceptual data diagrams built with constructors of the...
متن کامل